﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Class4:Calculate
    {
        //public Class4(int protected1, int protected2) : base(protected1, protected2)
        //{
        //    this.Protected1 = protected1;
        //    this.Protected2 = protected2;
        //}
        public override void DisplayResult()
        {

            yhjs();
            int sum ;
            sum = this.protected1 / this.protected2;
            Console.WriteLine("和是"+sum);
            base.DisplayResult();
        }
    }
}
